package com.example.cloudzuul.demos.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ZuulDemoAction {

    //zuul应用中，zuul/**路径不能配置
    @GetMapping("zuuldemo/demo")
    public String zuul(){
        System.out.println("zuul");
        return "zuul";
    }
}
